﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainContentPlaceholder" runat="server">
    <h2>Test 9: Verifica della disponibilità dei domini test.it e test-1.it</h2>
    <p>Il Registrar clientA-REG deve verificare la disponibilità dei nomi a dominio test.it e test-1.it, tramite l’invio del comando &lt;domain:check&gt;.</p>
    <p>DomainName: test.it<br />
    DomainName: test-1.it</p>
    <p>Verificare che la risposta contenga:</p>
    <pre class="brush: xml">
        <result code="1000">
            <msg lang="en">Command completed successfully</msg>
        </result>
        <resData>
            <domain:chkData xsi:schemaLocation="urn:ietf:params:xml:ns:domain-1.0 domain-1.0.xsd">
                <domain:cd>
                    <domain:name avail="true">test.it</domain:name>
                </domain:cd>
                <domain:cd>
                    <domain:name avail="true">test-1.it</domain:name>
                </domain:cd>
            </domain:chkData>
        </resData>
    </pre>
    <hr />
    <% using (Html.BeginForm()) {%>   
        <% if ((bool)ViewData["__PRE"]) { %>
            <div class="operationPanel">
                <input type="submit" value="Procedi" />
            </div>
        <% } %>

        <% if ((bool)ViewData["__POST"]) { %>
            <% Html.RenderPartial("ConsoleView", (EPPLib.Messages.CheckDomainResponseMessage)ViewData["__RESPONSE_MESSAGE_1"]); %>
            <div class="operationPanel">
                <a href="Step10">Continua</a>
            </div>
        <% } %>
    <% } %>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="titleContentPlaceholder" runat="server">
</asp:Content>
